package com.itheima.mapper;

import com.itheima.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper02 {

    /*添加账号*/
    Integer save(User user);

    /*删除账号*/
    Integer delete(Integer id);

    /*查询账号*/
    List<User> findAll();

    /*修改账号*/
    Integer update(User user);
}
